package chances.wechat.entity;

import java.util.Date;

public class UserMedia implements java.io.Serializable {

	private static final long serialVersionUID = -2506676705636487464L;

	public static Integer PHOTO_NO_AUDIT = 1; // 未审核，默认
	public static Integer PHOTO_PASS = 2; // 通过
	public static Integer PHOTO_FORBIDDEN = 3; // 禁用
	public static Integer PHOTO_DELETE = 4; // 已删除

	private Long id;
	private String openId;
	private String nickname;
	private String type;
	private Date uploadTime;
	private Integer status;
	private int width;
	private int height;
	private String mediaId;
	private boolean shared;
	private String title;
	private String tags;
	private String source;
	private boolean fav;

	private String duration;
	
	private String icon;
	private String hd;
	private String sd;
	

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getHd() {
		return hd;
	}

	public void setHd(String hd) {
		this.hd = hd;
	}

	public String getSd() {
		return sd;
	}

	public void setSd(String sd) {
		this.sd = sd;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Date getUploadTime() {
		return uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public boolean getShared() {
		return shared;
	}

	public void setShared(boolean shared) {
		this.shared = shared;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTags() {
		return tags;
	}

	public Long getId() {
		return id;
	}

	public String getMediaId() {
		return mediaId;
	}

	public boolean isFav() {
		return fav;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public void setFav(boolean fav) {
		this.fav = fav;
	}

	public void setTags(String tags) {
		this.tags = tags;
	}

	public void setDuration(String durationInfo) {
		this.duration = durationInfo;
	}

	public String getDuration() {
		return duration;
	}

}
